package com.hdoit.apollo.logical.cargo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tennetcn.data.dao.base.impl.SuperService;
import com.hdoit.apollo.logical.cargo.dao.IUnitDao;
import com.hdoit.apollo.logical.cargo.model.Unit;
import com.hdoit.apollo.logical.cargo.service.IUnitService;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年06月07日 10:18:56
 * @comment
 */
@Component
public class UnitServiceImpl extends SuperService<Unit> implements IUnitService{

	@Autowired
	private IUnitDao unitDao;
	
	@Override
	public boolean deleteUnit(String unitId) {
		
		return unitDao.deleteUnit(unitId);
	}

}